/**
 * @description: 文件加获取相关接口
 * @author:cailong
 * @date: 2021-12-1
 */
//

import request from '@/router/axios'
const baseUrl = "/disk/folder"
export function saveFolder(obj) {
  return request({
    url: baseUrl+'/save',
    method: 'post',
    data: obj
  })
}

export function moveToRecycleBin(folderId) {
  return request({
    url: baseUrl+'/delete/'+folderId,
    method: 'post'
  })
}

export function deleteFolder(id) {
  return request({
    url: baseUrl+'/'+id,
    method: 'delete'
  })
}
